package com.intellagric.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class IftCtrlEquipmentChannelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public IftCtrlEquipmentChannelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRelIdIsNull() {
            addCriterion("rel_id is null");
            return (Criteria) this;
        }

        public Criteria andRelIdIsNotNull() {
            addCriterion("rel_id is not null");
            return (Criteria) this;
        }

        public Criteria andRelIdEqualTo(String value) {
            addCriterion("rel_id =", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdNotEqualTo(String value) {
            addCriterion("rel_id <>", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdGreaterThan(String value) {
            addCriterion("rel_id >", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdGreaterThanOrEqualTo(String value) {
            addCriterion("rel_id >=", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdLessThan(String value) {
            addCriterion("rel_id <", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdLessThanOrEqualTo(String value) {
            addCriterion("rel_id <=", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdLike(String value) {
            addCriterion("rel_id like", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdNotLike(String value) {
            addCriterion("rel_id not like", value, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdIn(List<String> values) {
            addCriterion("rel_id in", values, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdNotIn(List<String> values) {
            addCriterion("rel_id not in", values, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdBetween(String value1, String value2) {
            addCriterion("rel_id between", value1, value2, "relId");
            return (Criteria) this;
        }

        public Criteria andRelIdNotBetween(String value1, String value2) {
            addCriterion("rel_id not between", value1, value2, "relId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdIsNull() {
            addCriterion("ctrl_equipment_id is null");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdIsNotNull() {
            addCriterion("ctrl_equipment_id is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdEqualTo(String value) {
            addCriterion("ctrl_equipment_id =", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdNotEqualTo(String value) {
            addCriterion("ctrl_equipment_id <>", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdGreaterThan(String value) {
            addCriterion("ctrl_equipment_id >", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdGreaterThanOrEqualTo(String value) {
            addCriterion("ctrl_equipment_id >=", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdLessThan(String value) {
            addCriterion("ctrl_equipment_id <", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdLessThanOrEqualTo(String value) {
            addCriterion("ctrl_equipment_id <=", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdLike(String value) {
            addCriterion("ctrl_equipment_id like", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdNotLike(String value) {
            addCriterion("ctrl_equipment_id not like", value, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdIn(List<String> values) {
            addCriterion("ctrl_equipment_id in", values, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdNotIn(List<String> values) {
            addCriterion("ctrl_equipment_id not in", values, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdBetween(String value1, String value2) {
            addCriterion("ctrl_equipment_id between", value1, value2, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentIdNotBetween(String value1, String value2) {
            addCriterion("ctrl_equipment_id not between", value1, value2, "ctrlEquipmentId");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelIsNull() {
            addCriterion("ctrl_equipment_channel is null");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelIsNotNull() {
            addCriterion("ctrl_equipment_channel is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelEqualTo(String value) {
            addCriterion("ctrl_equipment_channel =", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelNotEqualTo(String value) {
            addCriterion("ctrl_equipment_channel <>", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelGreaterThan(String value) {
            addCriterion("ctrl_equipment_channel >", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelGreaterThanOrEqualTo(String value) {
            addCriterion("ctrl_equipment_channel >=", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelLessThan(String value) {
            addCriterion("ctrl_equipment_channel <", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelLessThanOrEqualTo(String value) {
            addCriterion("ctrl_equipment_channel <=", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelLike(String value) {
            addCriterion("ctrl_equipment_channel like", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelNotLike(String value) {
            addCriterion("ctrl_equipment_channel not like", value, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelIn(List<String> values) {
            addCriterion("ctrl_equipment_channel in", values, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelNotIn(List<String> values) {
            addCriterion("ctrl_equipment_channel not in", values, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelBetween(String value1, String value2) {
            addCriterion("ctrl_equipment_channel between", value1, value2, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlEquipmentChannelNotBetween(String value1, String value2) {
            addCriterion("ctrl_equipment_channel not between", value1, value2, "ctrlEquipmentChannel");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoIsNull() {
            addCriterion("ctrl_channel_no is null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoIsNotNull() {
            addCriterion("ctrl_channel_no is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoEqualTo(Integer value) {
            addCriterion("ctrl_channel_no =", value, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoNotEqualTo(Integer value) {
            addCriterion("ctrl_channel_no <>", value, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoGreaterThan(Integer value) {
            addCriterion("ctrl_channel_no >", value, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("ctrl_channel_no >=", value, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoLessThan(Integer value) {
            addCriterion("ctrl_channel_no <", value, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoLessThanOrEqualTo(Integer value) {
            addCriterion("ctrl_channel_no <=", value, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoIn(List<Integer> values) {
            addCriterion("ctrl_channel_no in", values, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoNotIn(List<Integer> values) {
            addCriterion("ctrl_channel_no not in", values, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoBetween(Integer value1, Integer value2) {
            addCriterion("ctrl_channel_no between", value1, value2, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNoNotBetween(Integer value1, Integer value2) {
            addCriterion("ctrl_channel_no not between", value1, value2, "ctrlChannelNo");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdIsNull() {
            addCriterion("ctrl_channel_id is null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdIsNotNull() {
            addCriterion("ctrl_channel_id is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdEqualTo(String value) {
            addCriterion("ctrl_channel_id =", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdNotEqualTo(String value) {
            addCriterion("ctrl_channel_id <>", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdGreaterThan(String value) {
            addCriterion("ctrl_channel_id >", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdGreaterThanOrEqualTo(String value) {
            addCriterion("ctrl_channel_id >=", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdLessThan(String value) {
            addCriterion("ctrl_channel_id <", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdLessThanOrEqualTo(String value) {
            addCriterion("ctrl_channel_id <=", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdLike(String value) {
            addCriterion("ctrl_channel_id like", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdNotLike(String value) {
            addCriterion("ctrl_channel_id not like", value, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdIn(List<String> values) {
            addCriterion("ctrl_channel_id in", values, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdNotIn(List<String> values) {
            addCriterion("ctrl_channel_id not in", values, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdBetween(String value1, String value2) {
            addCriterion("ctrl_channel_id between", value1, value2, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelIdNotBetween(String value1, String value2) {
            addCriterion("ctrl_channel_id not between", value1, value2, "ctrlChannelId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameIsNull() {
            addCriterion("ctrl_channel_name is null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameIsNotNull() {
            addCriterion("ctrl_channel_name is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameEqualTo(String value) {
            addCriterion("ctrl_channel_name =", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameNotEqualTo(String value) {
            addCriterion("ctrl_channel_name <>", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameGreaterThan(String value) {
            addCriterion("ctrl_channel_name >", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameGreaterThanOrEqualTo(String value) {
            addCriterion("ctrl_channel_name >=", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameLessThan(String value) {
            addCriterion("ctrl_channel_name <", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameLessThanOrEqualTo(String value) {
            addCriterion("ctrl_channel_name <=", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameLike(String value) {
            addCriterion("ctrl_channel_name like", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameNotLike(String value) {
            addCriterion("ctrl_channel_name not like", value, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameIn(List<String> values) {
            addCriterion("ctrl_channel_name in", values, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameNotIn(List<String> values) {
            addCriterion("ctrl_channel_name not in", values, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameBetween(String value1, String value2) {
            addCriterion("ctrl_channel_name between", value1, value2, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelNameNotBetween(String value1, String value2) {
            addCriterion("ctrl_channel_name not between", value1, value2, "ctrlChannelName");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdIsNull() {
            addCriterion("ctrl_channel_type_id is null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdIsNotNull() {
            addCriterion("ctrl_channel_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdEqualTo(String value) {
            addCriterion("ctrl_channel_type_id =", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdNotEqualTo(String value) {
            addCriterion("ctrl_channel_type_id <>", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdGreaterThan(String value) {
            addCriterion("ctrl_channel_type_id >", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("ctrl_channel_type_id >=", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdLessThan(String value) {
            addCriterion("ctrl_channel_type_id <", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdLessThanOrEqualTo(String value) {
            addCriterion("ctrl_channel_type_id <=", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdLike(String value) {
            addCriterion("ctrl_channel_type_id like", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdNotLike(String value) {
            addCriterion("ctrl_channel_type_id not like", value, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdIn(List<String> values) {
            addCriterion("ctrl_channel_type_id in", values, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdNotIn(List<String> values) {
            addCriterion("ctrl_channel_type_id not in", values, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdBetween(String value1, String value2) {
            addCriterion("ctrl_channel_type_id between", value1, value2, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andCtrlChannelTypeIdNotBetween(String value1, String value2) {
            addCriterion("ctrl_channel_type_id not between", value1, value2, "ctrlChannelTypeId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNull() {
            addCriterion("equipment_id is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNotNull() {
            addCriterion("equipment_id is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdEqualTo(String value) {
            addCriterion("equipment_id =", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotEqualTo(String value) {
            addCriterion("equipment_id <>", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThan(String value) {
            addCriterion("equipment_id >", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThanOrEqualTo(String value) {
            addCriterion("equipment_id >=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThan(String value) {
            addCriterion("equipment_id <", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThanOrEqualTo(String value) {
            addCriterion("equipment_id <=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLike(String value) {
            addCriterion("equipment_id like", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotLike(String value) {
            addCriterion("equipment_id not like", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIn(List<String> values) {
            addCriterion("equipment_id in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotIn(List<String> values) {
            addCriterion("equipment_id not in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdBetween(String value1, String value2) {
            addCriterion("equipment_id between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotBetween(String value1, String value2) {
            addCriterion("equipment_id not between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameIsNull() {
            addCriterion("equipment_name is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameIsNotNull() {
            addCriterion("equipment_name is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameEqualTo(String value) {
            addCriterion("equipment_name =", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotEqualTo(String value) {
            addCriterion("equipment_name <>", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameGreaterThan(String value) {
            addCriterion("equipment_name >", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameGreaterThanOrEqualTo(String value) {
            addCriterion("equipment_name >=", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameLessThan(String value) {
            addCriterion("equipment_name <", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameLessThanOrEqualTo(String value) {
            addCriterion("equipment_name <=", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameLike(String value) {
            addCriterion("equipment_name like", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotLike(String value) {
            addCriterion("equipment_name not like", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameIn(List<String> values) {
            addCriterion("equipment_name in", values, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotIn(List<String> values) {
            addCriterion("equipment_name not in", values, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameBetween(String value1, String value2) {
            addCriterion("equipment_name between", value1, value2, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotBetween(String value1, String value2) {
            addCriterion("equipment_name not between", value1, value2, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeIsNull() {
            addCriterion("channel_data_treatment_mode is null");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeIsNotNull() {
            addCriterion("channel_data_treatment_mode is not null");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeEqualTo(String value) {
            addCriterion("channel_data_treatment_mode =", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeNotEqualTo(String value) {
            addCriterion("channel_data_treatment_mode <>", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeGreaterThan(String value) {
            addCriterion("channel_data_treatment_mode >", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeGreaterThanOrEqualTo(String value) {
            addCriterion("channel_data_treatment_mode >=", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeLessThan(String value) {
            addCriterion("channel_data_treatment_mode <", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeLessThanOrEqualTo(String value) {
            addCriterion("channel_data_treatment_mode <=", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeLike(String value) {
            addCriterion("channel_data_treatment_mode like", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeNotLike(String value) {
            addCriterion("channel_data_treatment_mode not like", value, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeIn(List<String> values) {
            addCriterion("channel_data_treatment_mode in", values, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeNotIn(List<String> values) {
            addCriterion("channel_data_treatment_mode not in", values, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeBetween(String value1, String value2) {
            addCriterion("channel_data_treatment_mode between", value1, value2, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andChannelDataTreatmentModeNotBetween(String value1, String value2) {
            addCriterion("channel_data_treatment_mode not between", value1, value2, "channelDataTreatmentMode");
            return (Criteria) this;
        }

        public Criteria andSceneIdIsNull() {
            addCriterion("scene_id is null");
            return (Criteria) this;
        }

        public Criteria andSceneIdIsNotNull() {
            addCriterion("scene_id is not null");
            return (Criteria) this;
        }

        public Criteria andSceneIdEqualTo(String value) {
            addCriterion("scene_id =", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotEqualTo(String value) {
            addCriterion("scene_id <>", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdGreaterThan(String value) {
            addCriterion("scene_id >", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdGreaterThanOrEqualTo(String value) {
            addCriterion("scene_id >=", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLessThan(String value) {
            addCriterion("scene_id <", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLessThanOrEqualTo(String value) {
            addCriterion("scene_id <=", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdLike(String value) {
            addCriterion("scene_id like", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotLike(String value) {
            addCriterion("scene_id not like", value, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdIn(List<String> values) {
            addCriterion("scene_id in", values, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotIn(List<String> values) {
            addCriterion("scene_id not in", values, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdBetween(String value1, String value2) {
            addCriterion("scene_id between", value1, value2, "sceneId");
            return (Criteria) this;
        }

        public Criteria andSceneIdNotBetween(String value1, String value2) {
            addCriterion("scene_id not between", value1, value2, "sceneId");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitIsNull() {
            addCriterion("original_data_unit is null");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitIsNotNull() {
            addCriterion("original_data_unit is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitEqualTo(String value) {
            addCriterion("original_data_unit =", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitNotEqualTo(String value) {
            addCriterion("original_data_unit <>", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitGreaterThan(String value) {
            addCriterion("original_data_unit >", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitGreaterThanOrEqualTo(String value) {
            addCriterion("original_data_unit >=", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitLessThan(String value) {
            addCriterion("original_data_unit <", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitLessThanOrEqualTo(String value) {
            addCriterion("original_data_unit <=", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitLike(String value) {
            addCriterion("original_data_unit like", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitNotLike(String value) {
            addCriterion("original_data_unit not like", value, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitIn(List<String> values) {
            addCriterion("original_data_unit in", values, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitNotIn(List<String> values) {
            addCriterion("original_data_unit not in", values, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitBetween(String value1, String value2) {
            addCriterion("original_data_unit between", value1, value2, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andOriginalDataUnitNotBetween(String value1, String value2) {
            addCriterion("original_data_unit not between", value1, value2, "originalDataUnit");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingIsNull() {
            addCriterion("range_ceiling is null");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingIsNotNull() {
            addCriterion("range_ceiling is not null");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingEqualTo(String value) {
            addCriterion("range_ceiling =", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingNotEqualTo(String value) {
            addCriterion("range_ceiling <>", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingGreaterThan(String value) {
            addCriterion("range_ceiling >", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingGreaterThanOrEqualTo(String value) {
            addCriterion("range_ceiling >=", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingLessThan(String value) {
            addCriterion("range_ceiling <", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingLessThanOrEqualTo(String value) {
            addCriterion("range_ceiling <=", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingLike(String value) {
            addCriterion("range_ceiling like", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingNotLike(String value) {
            addCriterion("range_ceiling not like", value, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingIn(List<String> values) {
            addCriterion("range_ceiling in", values, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingNotIn(List<String> values) {
            addCriterion("range_ceiling not in", values, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingBetween(String value1, String value2) {
            addCriterion("range_ceiling between", value1, value2, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeCeilingNotBetween(String value1, String value2) {
            addCriterion("range_ceiling not between", value1, value2, "rangeCeiling");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitIsNull() {
            addCriterion("range_lower_limit is null");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitIsNotNull() {
            addCriterion("range_lower_limit is not null");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitEqualTo(String value) {
            addCriterion("range_lower_limit =", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitNotEqualTo(String value) {
            addCriterion("range_lower_limit <>", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitGreaterThan(String value) {
            addCriterion("range_lower_limit >", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitGreaterThanOrEqualTo(String value) {
            addCriterion("range_lower_limit >=", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitLessThan(String value) {
            addCriterion("range_lower_limit <", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitLessThanOrEqualTo(String value) {
            addCriterion("range_lower_limit <=", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitLike(String value) {
            addCriterion("range_lower_limit like", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitNotLike(String value) {
            addCriterion("range_lower_limit not like", value, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitIn(List<String> values) {
            addCriterion("range_lower_limit in", values, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitNotIn(List<String> values) {
            addCriterion("range_lower_limit not in", values, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitBetween(String value1, String value2) {
            addCriterion("range_lower_limit between", value1, value2, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andRangeLowerLimitNotBetween(String value1, String value2) {
            addCriterion("range_lower_limit not between", value1, value2, "rangeLowerLimit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitIsNull() {
            addCriterion("corrected_unit is null");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitIsNotNull() {
            addCriterion("corrected_unit is not null");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitEqualTo(String value) {
            addCriterion("corrected_unit =", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitNotEqualTo(String value) {
            addCriterion("corrected_unit <>", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitGreaterThan(String value) {
            addCriterion("corrected_unit >", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitGreaterThanOrEqualTo(String value) {
            addCriterion("corrected_unit >=", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitLessThan(String value) {
            addCriterion("corrected_unit <", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitLessThanOrEqualTo(String value) {
            addCriterion("corrected_unit <=", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitLike(String value) {
            addCriterion("corrected_unit like", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitNotLike(String value) {
            addCriterion("corrected_unit not like", value, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitIn(List<String> values) {
            addCriterion("corrected_unit in", values, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitNotIn(List<String> values) {
            addCriterion("corrected_unit not in", values, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitBetween(String value1, String value2) {
            addCriterion("corrected_unit between", value1, value2, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andCorrectedUnitNotBetween(String value1, String value2) {
            addCriterion("corrected_unit not between", value1, value2, "correctedUnit");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableIsNull() {
            addCriterion("service_available is null");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableIsNotNull() {
            addCriterion("service_available is not null");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableEqualTo(String value) {
            addCriterion("service_available =", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableNotEqualTo(String value) {
            addCriterion("service_available <>", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableGreaterThan(String value) {
            addCriterion("service_available >", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableGreaterThanOrEqualTo(String value) {
            addCriterion("service_available >=", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableLessThan(String value) {
            addCriterion("service_available <", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableLessThanOrEqualTo(String value) {
            addCriterion("service_available <=", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableLike(String value) {
            addCriterion("service_available like", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableNotLike(String value) {
            addCriterion("service_available not like", value, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableIn(List<String> values) {
            addCriterion("service_available in", values, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableNotIn(List<String> values) {
            addCriterion("service_available not in", values, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableBetween(String value1, String value2) {
            addCriterion("service_available between", value1, value2, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andServiceAvailableNotBetween(String value1, String value2) {
            addCriterion("service_available not between", value1, value2, "serviceAvailable");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("del_flag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("del_flag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}